class CameraInterface:
    def __init__(self):
        self.kill_record_thread = False
        self.frame = None

    def open_camera(self):
        ...

    def close_camera(self):
        self.kill_record_thread = True

    def get_frame(self):
        return self.frame

    def record(self):
        self.kill_record_thread = False

    def stop_record(self):
        self.kill_record_thread = True

    def setting(self):
        ...
